package com.dong.user.service.impl;

import com.dong.user.model.User;
import com.dong.user.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author dongjian
 */
@Service
@Slf4j(topic = "UserServiceImpl")
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(Long userId) {
        log.error("userService>>>>>");
        User user = new User()
                .setUserId("1")
                .setName("dong")
                .setAge(20);
        return user;
    }
}
